<section class="title">
<?php if ($this->method == 'create'): ?>
	<h4><?php echo lang('uploking_country_create_title'); ?></h4>
<?php else: ?>
	<h4><?php echo sprintf(lang('uploking_country_edit_title'), $country->name); ?></h4>
<?php endif; ?>
</section>

<section class="item">
	
<?php echo form_open(uri_string(), 'class="crud"'); ?>
<div class="form_inputs" id="voucher-form">

	<fieldset>
	
		<ul>
			<li class="even">
				<label for="code"><?php echo lang('uploking_country_name_title'); ?> <span>*</span></label>
				<div class="input">
					<?php echo form_input('name', $country->name, 'maxlength="80" id="name"'); ?>
				</div>				
			</li>
			<li class="even">
				<label for="code"><?php echo lang('uploking_country_code_title'); ?> <span>*</span></label>
				<div class="input">
					<?php echo form_input('code', $country->code, 'maxlength="2" id="code"'); ?>
				</div>				
			</li>
			<li class="odd">
				<label for="prize_id"><?php echo lang('uploking_country_group_title'); ?></label>
				<div class="input">					
					<?php echo form_dropdown('group_id',  $groupList, $country->group_id) ?>
				</div>
			</li>
		</ul>
	</fieldset>
</div>
<div class="buttons float-right padding-top">
<?php $this->load->view('admin/partials/buttons', array('buttons' => array('save', 'save_exit', 'cancel'))); ?>
</div>
<?php echo form_close(); ?>
</section>